package com.kiki.history.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.kiki.common.annotation.Excel;
import com.kiki.common.core.domain.BaseEntity;

/**
 * 收听历史对象 listening_history
 * 
 * @author 林志毅
 * @date 2025-01-09
 */
public class ListeningHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 历史ID */
    private Long historyId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 音乐ID */
    @Excel(name = "音乐ID")
    private Long songId;

    public void setHistoryId(Long historyId) 
    {
        this.historyId = historyId;
    }

    public Long getHistoryId() 
    {
        return historyId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setSongId(Long songId) 
    {
        this.songId = songId;
    }

    public Long getSongId() 
    {
        return songId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("historyId", getHistoryId())
            .append("userId", getUserId())
            .append("songId", getSongId())
            .toString();
    }
}
